#
# Be sure to run `pod lib lint Bugly.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'Bugly'
  s.version          = '2.6.0'
  s.summary          = 'A short description of Bugly.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/moon_zm/Bugly.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'moon_zm' => 'moon_zm@126.com' }
  s.source           = { :git => 'https://gitee.com/moon_zm/Bugly.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  #s.source_files = 'Bugly/Classes/**/*'
  #s.resource_bundles = {
  #  'Bugly' => ['Bugly/Assets/*']
  #}
  #s.public_header_files = 'Pod/Bugly/**/*.h'
  s.vendored_frameworks ='Bugly.framework'
  s.frameworks = 'SystemConfiguration','Security'
  s.libraries = 'z','c++'
  # s.dependency 'AFNetworking', '~> 2.3'
end

#Pod::Spec.new do |s|
#  s.authors      = "Tencent"
#  s.name         = "Bugly"
#  s.version      = "2.5.0"
#  s.summary      = "Bugly iOS SDK"
#  s.description  = "iOS library for Bugly Crash Report Service. Sign up for a service at https://bugly.qq.com."
#  s.homepage     = "http://bugly.qq.com/"
#  s.license      = { :type => "Commercial", :text => "Copyright (C) 2017 Tencent Bugly, Inc. All rights reserved."}
#  s.author       = { "Tencent" => "bugly@tencent.com" }
#  s.source       = { :http => "http://softfile.3g.qq.com/myapp/buglysdk/Bugly-2.5.0.zip" }
#  s.requires_arc = true
#  s.platform     = :ios
#  s.ios.deployment_target = '7.0'
#  s.vendored_frameworks ='Bugly.framework'
#  s.frameworks = 'SystemConfiguration','Security'
#  s.library = 'z','c++'
#  s.license      = {
#    :type => 'Copyright',
#    :text => <<-LICENSE
#      Copyright (C) 2017 Tencent Bugly, Inc. All rights reserved.
#      LICENSE
#  }
#  end
